package command;

public class CommandConstants {
	// commands received from clients or sent clients
	public static final String CMD_LOG_IN = "LogInCommand";
	public static final String CMD_LOG_OUT = "LogOutCommand";
	public static final String CMD_REGISTER = "RegisterCommand";
	public static final String CMD_UPDATE_FRIEND_LIST = "UpdateFriendListCommand";
	public static final String CMD_VOICE_CHAT_REQUEST = "VoiceChatRequestCommand";
	public static final String CMD_VIDEO_CHAT_REQUEST = "VideoChatRequestCommand";
	public static final String CMD_VOICE_ASK_RESULT = "VoiceAskResultCommand";
	public static final String CMD_VIDEO_ASK_RESULT = "VideoAskResultCommand";
	public static final String CMD_STOP_VOICE_REQUEST = "StopVoiceRequestCommand";
	public static final String CMD_STOP_VIDEO_REQUEST = "StopVideoRequestCommand";
	public static final String CMD_STOPPED_VOICE_CHAT = "StoppedVoiceChatCommand";
	public static final String CMD_STOPPED_VIDEO_CHAT = "StoppedVideoChatCommand";
	
	// commands sent to clients
	public static final String CMD_REGISTER_RESULT = "RegisterResultCommand";
	public static final String CMD_LOGIN_RESULT = "LogInResultCommand";
	public static final String CMD_LOGOUT_RESULT = "LogOutResultCommand";
	public static final String CMD_VOICE_CHAT_REQUEST_RESULT = "VoiceChatRequestResultCommand";
	public static final String CMD_VIDEO_CHAT_REQUEST_RESULT = "VideoChatRequestResultCommand";
	public static final String CMD_VOICE_CHAT_ASK = "VoiceChatAskCommand";
	public static final String CMD_VIDEO_CHAT_ASK = "VideoChatAskCommand";
	public static final String CMD_STOP_VOICE_CHAT = "StopVoiceChatCommand";
	public static final String CMD_STOP_VIDEO_CHAT = "StopVideoChatCommand";
	
	// attribute names
	public static final String ATTR_USER_NAME = "UserName";
	public static final String ATTR_IP = "IP";
	public static final String ATTR_SUCCESS = "Success";
	public static final String ATTR_FROM_USER_NAME = "FromUserName";
	public static final String ATTR_TO_USER_NAME = "ToUserName";
	
	// element names
	public static final String ELE_USER = "User";
}
